Description
Used to specify scripts to call when Application object events occur.
Diagram
Overview
|
APPLICATION
Used to specify scripts to call when Application object events occur.
|
onexevent optional xs:string
Specify the script to run when this event occurs.
|
|
onpower optional xs:string
Specify the script to run when this event occurs.
|
|
onpreferenceschanged optional xs:string
Specify the script to run when this event occurs.
|
|
onshutdown optional xs:string
Specify the script to run when this event occurs.
|
|
onstartup optional xs:string
Specify the script to run when this event occurs.
|
|
ontimer optional xs:string
Specify the script to run when this event occurs.
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
onexevent | xs:string | optional | | | Specify the script to run when this event occurs. |
onpower | xs:string | optional | | | Specify the script to run when this event occurs. |
onpreferenceschanged | xs:string | optional | | | Specify the script to run when this event occurs. |
onshutdown | xs:string | optional | | | Specify the script to run when this event occurs. |
onstartup | xs:string | optional | | | Specify the script to run when this event occurs. |
ontimer | xs:string | optional | | | Specify the script to run when this event occurs. |
Remarks
Examples
Applet with one toolbar and no forms
Source
<xs:element name="APPLICATION" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to specify scripts to call when Application object events occur.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute ref="onexevent" />
<xs:attribute ref="onpower" />
<xs:attribute ref="onpreferenceschanged" />
<xs:attribute ref="onshutdown" />
<xs:attribute ref="onstartup" />
<xs:attribute ref="ontimer" />
</xs:complexType>
</xs:element>
|
See Also